package com.ruoyi.web.sso.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 push_record
 * 
 * @author ruoyi
 * @date 2022-02-23
 */
public class PushRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 推送人ID */
    @Excel(name = "推送人ID")
    private String clientId;

    /** tag */
    @Excel(name = "tag")
    private String tag;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 手机型号 */
    @Excel(name = "手机型号")
    private String mobileType;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private String pushType;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 设备码 */
    @Excel(name = "设备码")
    private String code;

    /** 状态0正常） */
    @Excel(name = "状态0正常）")
    private String states;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private String deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setClientId(String clientId) 
    {
        this.clientId = clientId;
    }

    public String getClientId() 
    {
        return clientId;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setMobileType(String mobileType) 
    {
        this.mobileType = mobileType;
    }

    public String getMobileType() 
    {
        return mobileType;
    }
    public void setPushType(String pushType) 
    {
        this.pushType = pushType;
    }

    public String getPushType() 
    {
        return pushType;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientId", getClientId())
            .append("tag", getTag())
            .append("title", getTitle())
            .append("mobileType", getMobileType())
            .append("pushType", getPushType())
            .append("content", getContent())
            .append("code", getCode())
            .append("states", getStates())
            .append("type", getType())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
